/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package de.aeo.bll;

/**
 * @author Frederic Branczyk & Robert Piwonski
 */
public class Language_en extends Language {
    
    public Language_en() {
        super();
    }

    @Override
    public Object handleGetObject(String key) {
        if(key.equals("save")) return "Save";
        if(key.equals("open")) return "Open";
        if(key.equals("file")) return "File";
        if(key.equals("close")) return "Close";
        if(key.equals("import")) return "Import";
        if(key.equals("amount")) return "Amount";
        if(key.equals("export")) return "Export";
        if(key.equals("options")) return "Options";
        if(key.equals("run")) return "Run";
        if(key.equals("help")) return "Help";
        if(key.equals("check")) return "Check";
        if(key.equals("language")) return "Language";
        if(key.equals("languageEnglish")) return "English";
        if(key.equals("languageGerman")) return "German";
        if(key.equals("exitMsg")) return "Are you sure, you want to exit?";
        if(key.equals("titleWarning")) return "Warning";
        if(key.equals("titleSuccess")) return "Success";
        if(key.equals("subject")) return "Subject";
        if(key.equals("student")) return "Student";
        if(key.equals("subjects")) return "Subjects";
        if(key.equals("students")) return "Students";
        if(key.equals("noProblemsFound")) return "No problems found.";
        if(key.equals("studentCheckFailed")) return " student(s) have not picked enough subjects!";
        if(key.equals("noSubjectsCreated")) return "No subjects have yet been created,\nplease do so and try again.";
        if(key.equals("emptyStudentExceptionMsg")) return "You cannot create a student without a first and lastname.";
        if(key.equals("studentSubjectHelpMsg")) return "Subject 1 through Subject 4 are the Subjects the Student has\n"
                + "chosen as preffered Subjects. The time period of Subject 1\n"
                + "through Subject 4 must add up to 4. Subject 5 is the Subject\n"
                + "the Student has chosen as an alternative, if a preffered\n"
                + "Subject does not work.";
        if(key.equals("emptySubjectExceptionMsg")) return "You cannot create a Subject without a name or abbreviation.";
        if(key.equals("1year")) return "1 Year";
        if(key.equals("2years")) return "2 Years";
        if(key.equals("pleaseAddSubjectTitle")) return "Please add subject title";
        if(key.equals("improperDataExceptionMsg_1")) return "Check your data at line ";
        if(key.equals("improperDataExceptionMsg_2")) return ". This input seems improper, it is neither subject nor student";
        if(key.equals("nameExtension")) return "Text CSV (.csv) (*.csv)";
        if(key.equals("period")) return "Period";
        if(key.equals("abbreviation")) return "Abbreviation";
        if(key.equals("minStudents")) return "min. Students";
        if(key.equals("maxStudents")) return "max. Students";
        if(key.equals("apply")) return "Apply";
        if(key.equals("firstname")) return "Firstname";
        if(key.equals("lastname")) return "Lastname";
        if(key.equals("class")) return "Class";
        if(key.equals("programTitle")) return "Course Courser";
        if(key.equals("delete")) return "Delete";
        if(key.equals("noDeleteIndexMsg")) return "No student has been selected to be deleted.";
        if(key.equals("sureDeleteMsg")) return "Are you sure, you want to delete this student?";
        if(key.equals("studentDeleteSuccessMsg")) return " has successfully been deleted.";
        if(key.equals("createCourses")) return "Create courses";
        if(key.equals("emptyStudentsList")) return "No students to check,\nbecause student-list is emtpy.";
        if(key.equals("overrideMsg")) return "This file already exists, do you want to override it?";
        if(key.equals("illegalCharacterMsg")) return "Illegal characters have been used.";
        if(key.equals("sort")) return "Sort";
        if(key.equals("layer")) return "Layer";
        if(key.equals("course")) return "Course";
        if(key.equals("selectAllStudentsWithTheCourse")) return "Select all students with the course:";
        if(key.equals("name")) return "Name";        
        if(key.equals("<none>")) return "<none>";
        if(key.equals("next")) return "Next";
        if(key.equals("willTakePlace")) return "will take place";
        if(key.equals("split")) return "Split";
        if(key.equals("crossovers")) return "Crossovers";
        if(key.equals("finish")) return "Finish";
        if(key.equals("doneMsg")) return "You have successfully saved your data!";
        if(key.equals("revote")) return "Revote!";
        if(key.equals("toolTip")) return "<html>Red means the the course should be split.<br>"
                                  + "Yellow indicated, that the course can be split.<br>"
                                  + "Blue means the number of students is below the minimum<html>";
        return null;
    }
    
}
